<?php
/* include the PHP Facebook Client Library to help
  with the API calls and make life easy */
require_once('facebook/php/facebook.php');

/* initialize the facebook API with your application API Key
  and Secret */
$facebook = new Facebook("3d762b2d116ad18359537bc9b00a89dd","d0efe7a874e2916c4322b11a8ece2b80");

/* require the user to be logged into Facebook before
  using the application. If they are not logged in they
  will first be directed to a Facebook login page and then
  back to the application's page. require_login() returns
  the user's unique ID which we will store in fb_user */
$fb_user = $facebook->require_login();

// start the session to store our user variables 
session_start();
$_SESSION['user']=$fb_user;
$_SESSION['fb_api']=$facebook;

//create mySQL connection
include('db_connect.php');
include('session.php');
require('Logo.php');
require('Tabs.php');
?>

